import { get } from '../get'

export function getAdData() {
  const result = get('/api/homead');
  return result;
}

export function getHomeListData(city, page){
  city = encodeURIComponent(city);
  const result = get(`api/homelist/${city}/${page}`);
  return result;
}
